﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.InteropServices.WindowsRuntime;
using Windows.UI.Xaml;
using Windows.UI.Xaml.Controls;
using Windows.UI.Xaml.Data;
using Windows.UI.Xaml.Documents;
using Windows.UI.Xaml.Input;
using Windows.UI.Xaml.Media;

// The Templated Control item template is documented at http://go.microsoft.com/fwlink/?LinkId=234235

namespace WenceyWang.RichMan4L.Maps.MapDrawers.UWP2DMapDrawer
{
    public class RoadDrawer : Control
    {
        public RoadDrawer()
        {
            this.DefaultStyleKey = typeof(RoadDrawer);
        }



        public Road Source
        {
            get { return (Road)GetValue(SourceProperty); }
            set { SetValue(SourceProperty, value); }
        }

        public static readonly DependencyProperty SourceProperty =
            DependencyProperty.Register(nameof(Source), typeof(Road), typeof(RoadDrawer), new PropertyMetadata(null));



    }
}
